package com.vrv.app.cyberspace.modules.sys.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author sm
 * @since 2017-12-15
 */
@TableName("BULLETIN_APPROVAL_TABLE")
public class BulletinApprovalTable extends Model<BulletinApprovalTable> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 关联近日快报ID
     */
	private Integer todayBulletinID;
    /**
     * 用户名
     */
	private String userID;
    /**
     * 研判意见
     */
	private String advice;
    /**
     * 创建时间 【可以按时间来排序做进度】
     */
	private Date createTime;
	/**
	 * 0.新建1.转批2.同意3.退回
	 */
	private Integer status;

	@TableField(exist = false)
	private UserTable userInfo;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getTodayBulletinID() {
		return todayBulletinID;
	}

	public void setTodayBulletinID(Integer todayBulletinID) {
		this.todayBulletinID = todayBulletinID;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getAdvice() {
		return advice;
	}

	public void setAdvice(String advice) {
		this.advice = advice;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "BulletinApprovalTable{" +
			", id=" + id +
			", todayBulletinID=" + todayBulletinID +
			", userID=" + userID +
			", advice=" + advice +
			", createTime=" + createTime +
			"}";
	}

	public UserTable getUserInfo() {
		return userInfo;
	}

	public void setUserInfo(UserTable userInfo) {
		this.userInfo = userInfo;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}
}
